﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-9-13
Description:ServerInfo三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class ServerInfoManager
	{
		public static int AddServerInfo(ServerInfo serverInfo)
		{
			return ServerInfoService.AddServerInfo(serverInfo);
		}
		public static int DeleteServerInfoByid(long id)
		{
			return ServerInfoService.DeleteServerInfoById(id);
		}
		
		public static int ModifyServerInfoByid(ServerInfo serverInfo)
		{
			return ServerInfoService.ModifyServerInfoByid(serverInfo);
		}
		
		
		public static IList<ServerInfo> GetAllServerInfos()
		{
			return ServerInfoService.GetAllServerInfos();
		}
		public static ServerInfo GetServerInfoByid(long id)
		{
			return ServerInfoService.GetServerInfoByid(id);
		}
		 
	}
}
